﻿<Page
    x:Class="Sample03_ModelLoader.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Sample03_ModelLoader"
	xmlns:dxaml="using:DXBase.XAML"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:xc="using:WinRTXamlToolkit.Controls"
    mc:Ignorable="d">
	<Page.TopAppBar>
		<AppBar Background="DarkBlue" BorderThickness="0,0,0,1" BorderBrush="Gray" IsSticky="True">
			<Button Margin="10" HorizontalAlignment="Left" VerticalAlignment="Bottom" Content="Add Model" Click="HOpenModel"/>
		</AppBar>
	</Page.TopAppBar>

	<dxaml:ScenePanel x:Name="dxpanel">
		<Grid>
			
			<Grid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"/>
					<ColumnDefinition Width="22"/>
					<ColumnDefinition Width="120"/>
				</Grid.ColumnDefinitions>

				<xc:CustomGridSplitter Grid.Column="1" />
				<ListBox Grid.Column="2">
					<ListBoxItem Content="clwehojcwe"/>
					<ListBoxItem Content="clwehojcwe"/>
					<ListBoxItem Content="clwehojcwe"/>
					<ListBoxItem Content="clwehojcwe"/>
				</ListBox>
			</Grid>
			
			<ListBox x:Name="logBox" 
					 VerticalAlignment="Bottom"
					 ItemsSource="{Binding Scene.Logs, ElementName=dxpanel}" 
					 Background="#08FFFFFF">
			</ListBox>
			
		</Grid>
	</dxaml:ScenePanel>
</Page>
